package com.example.sale.service;

import com.example.sale.entity.SaleChance;
import com.github.pagehelper.PageInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface SaleService {

    List<SaleChance> queryDataAll();

    SaleChance queryChanceById(String id);

    PageInfo<SaleChance> queryData(SaleChance saleChance, int pageNum, int pageSize);

    void deleteInfo(String id);

    void updateInfo(SaleChance saleChance);

    void saveInfo(SaleChance saleChance,HttpServletRequest request);
}
